package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商户分期信息竞品明细表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-04
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_installment_info_competitive")
@Schema(description = "MerInstallmentInfoCompetitive对象")
public class MerInstallmentInfoCompetitive extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "competitive_id", type = IdType.ASSIGN_UUID)
    private String competitiveId;

    @Schema(description = "分期主键")
    @TableField("installment_id")
    private String installmentId;

    @Schema(description = "竞品机构")
    @TableField("competitive_organizations")
    private String competitiveOrganizations;

    @Schema(description = "竞品年化费率")
    @TableField("competitive_rate")
    private BigDecimal competitiveRate;

}
